pipegrep: pipegrep.c
	gcc -o pipegrep pipegrep.c -lpthread
	gcc -o semaphore semaphore.c -lpthread -lrt
	gcc -o sem sem.c -lpthread -lrt
clean: 
	rm pipegrep sem
